package com.gw.booking.dto.backend;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.util.Date;

public class DiscountDto {
    @ApiModelProperty(value = "商家id", required = true)
    @NotNull
    private Integer merchantId;
    @ApiModelProperty(value = "状态", required = true)
    @NotNull
    private Integer state;
    @ApiModelProperty(value = "有效期限描述")
    private String limited;
    @ApiModelProperty(value = "有效期限", required = true, example = "2018-01-01")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @NotNull
    private Date limitedAt;
    @ApiModelProperty(value = "是否预定0否1是", required = true)
    @NotNull
    private Integer reserve;
    @ApiModelProperty(value = "是否提示0否1是", required = true)
    @NotNull
    private Integer prompt;
    @ApiModelProperty(value = "条件2中文")
    private String conditionC;
    @ApiModelProperty(value = "条件2日文")
    private String conditionJ;
    @ApiModelProperty(value = "内容中文")
    private String contentC;
    @ApiModelProperty(value = "内容日文")
    private String contentJ;

    public Integer getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Integer merchantId) {
        this.merchantId = merchantId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getLimited() {
        return limited;
    }

    public void setLimited(String limited) {
        this.limited = limited;
    }

    public Date getLimitedAt() {
        return limitedAt;
    }

    public void setLimitedAt(Date limitedAt) {
        this.limitedAt = limitedAt;
    }

    public Integer getReserve() {
        return reserve;
    }

    public void setReserve(Integer reserve) {
        this.reserve = reserve;
    }

    public Integer getPrompt() {
        return prompt;
    }

    public void setPrompt(Integer prompt) {
        this.prompt = prompt;
    }

    public String getConditionC() {
        return conditionC;
    }

    public void setConditionC(String conditionC) {
        this.conditionC = conditionC;
    }

    public String getConditionJ() {
        return conditionJ;
    }

    public void setConditionJ(String conditionJ) {
        this.conditionJ = conditionJ;
    }

    public String getContentC() {
        return contentC;
    }

    public void setContentC(String contentC) {
        this.contentC = contentC;
    }

    public String getContentJ() {
        return contentJ;
    }

    public void setContentJ(String contentJ) {
        this.contentJ = contentJ;
    }
}
